<div class="main-header clearfix">
	<ul class="nav nav-pills">
		<strong class="pull-left">$space[username]</strong>
		<li class="nav-item">
			<a class="nav-link" href="{MOD_URL}&op=edituser&uid=$uid#user_{$user[uid]}_" onclick="jQuery('#orguser_container').load(this.href);return false;">{lang basic_message}</a>
		</li>
		<li class="nav-item">
			<a class="nav-link active" href="{MOD_URL}&op=edituser&do=profile&uid=$uid" onclick="jQuery('#orguser_container').load(this.href);return false;">{lang details_information}</a>
		</li>

	</ul>
</div>
	<div class="main-content">
    <div id="return_edituserprofile"></div>
    <form id="accountform" name="accountform" class="form-horizontal form-horizontal-left" action="{MOD_URL}&op=edituser&do=profile" method="post" onsubmit="account_submit();return false">
      <input type="hidden" name="profilesubmit" value="true" />
      <input type="hidden" name="uid" value="$uid" />
      <input type="hidden" name="handlekey" value="edituserprofile" />
      <input type="hidden" name="formhash" value="{FORMHASH}" />
      <!--{loop $settings $key $value}-->
      <!--{if $value[available]}-->
      <div class="row mb-3">
        <label class="col-sm-2" for="$key">$value[title]</label>
        <div class="col-sm-10">
          $htmls[$key]
        </div>
       </div>
      <!--{/if}-->
      <!--{/loop}-->
      <dl>
        <input type="submit" class="btn btn-primary" value="{lang save_changes}">
      </dl>
    </form>
  </div>
<script type="text/javascript" reload="1">
	currentHash = 'user_{$space[uid]}_profile';
	location.hash = '#user_{$space[uid]}_profile';
  jQuery(document).ready(function (e) {
    jQuery('select').lyearSelect();
  });
	function account_submit() {
		ajaxpost('accountform', 'ajaxwaitid', 'return_edituserprofile');
		return false;
	}

	function succeedhandle_edituserprofile(url, message, values) {
		showmessage(message, 'success', 3000, 1);
	};
</script>
<!--日期选择器css-->
<link rel="stylesheet" type="text/css" href="static/lyear/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
<!--日期选择器js-->
<script type="text/javascript" src="static/lyear/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script type="text/javascript" src="static/lyear/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script type="text/javascript" src="static/js/main.min.js" ></script>